{% extends "base_site.html" %}
{% load i18n %}

{% block content_title %}
<h2>{{ content_title }}</h2>
{% endblock %}
{% block content %}
  <div id="content-main">
    {% if user.is_superuser or master %}
    <form action="{{ user_action }}" method="post">{% csrf_token %}
      <ul class="plainlist">
        {{ form.as_ul }}
       </ul>
       <div>
        <input type="submit" value="Submit" />
       </div>
    </form>
    {% else %}
      <p>{% trans 'You have not permissions edit UserGroupPerm data' %}</p>
    {% endif %}
  </div>
{% endblock %}
